package com.buyantech.smweb.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import javacommon.base.BaseEntity;
/**
 * 积分兑换产品配置
 * @author Administrator
 */
@Entity
@Table(name = "exchange_type")
public class ExchangeType extends BaseEntity implements java.io.Serializable{
	private static final long serialVersionUID = 5454155825314635342L;

	private String id;
	private int  integral;//积分
	private int  money;   //金额
	private String typename;//类型名称
	private String typeid;// type id
	private String remark;  //备注
	private int Isshow;//0显示1不现实
	
	public static final String FORMAT_REGDATE = DATE_FORMAT;
	
	@Id @GeneratedValue(generator="uuid-id")
	@GenericGenerator(name="uuid-id", strategy = "uuid")
	@Column(name = "id", unique = true, nullable = false, insertable = true, updatable = true, length = 128)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public int getIntegral() {
		return integral;
	}

	public void setIntegral(int integral) {
		this.integral = integral;
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public String getTypename() {
		return typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getIsshow() {
		return Isshow;
	}

	public void setIsshow(int isshow) {
		Isshow = isshow;
	}

	public String getTypeid() {
		return typeid;
	}

	public void setTypeid(String typeid) {
		this.typeid = typeid;
	}
	
	
}
